﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ECare.BUS.Data
{
    public class RoleInfo
    {

        public int RoleId { get; set; }
        public string RoleName { get; set; }

        public bool IsActive { get; set; }

        public RolePermissions Permissions { get; set; }
    }

    public class RolePermissions
    {
        public RolePermissions()
        {
            this.Modules = new List<int>();
            this.permissions = new List<int>();
        }

        public List<int> Modules { get; set; }
        public List<int> permissions { get; set; }
    }
}
